import Vue from 'vue'
// import App from './App.vue'
// import Test02 from './test02'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import router from "@/router";
import leyouindex from "@/leyouindex";
Vue.prototype.$axios = axios
axios.defaults.baseURL = 'http://localhost:9527/'
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.component()
// axios.interceptors.request.use(
//     config=>{
//             config.headers.common["auth"] = window.sessionStorage.getItem("auth")
//             return config
//     },
//     error=>{
//         return Promise.reject(error);
//     }
// )
new Vue({
    router,
    render: h => h(leyouindex),
}).$mount('#app')